package com.b2.service;

import com.b2.pojo.dto.BookDto;
import com.b2.pojo.entity.Book;
import com.b2.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 悦神
* @description 针对表【book】的数据库操作Service
* @createDate 2024-05-27 10:28:35
*/
public interface BookService extends IService<Book> {

    Result<List<Book>> check(Long id);

    Result delete(Long id);

    Result add(BookDto bookDto);
}
